﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WWW._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>WhoIs XML API</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <h1>WhoIs Details</h1>
        <fieldset>
            <asp:RequiredFieldValidator Text="Please enter the domain name" runat="server" ControlToValidate="Domain" /><br />
            <asp:TextBox ID="Domain" runat="server" /><asp:Button ID="Submit" runat="server" Text="Check Whois data" OnClick="CheckDomain" />
        </fieldset>
        <br /><br />
        <strong>Domain</strong> <asp:Label ID="DomainName" runat="server" /><br />
        <strong>Expires</strong> <asp:Label ID="DomainExpires" runat="server" /><br />
    </div>
    </form>
</body>
</html>
